package com.atguigu.spzx.user.entity;

import com.atguigu.spzx.common.vo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户地址表
 * </p>
 *
 * @author flyduck
 * @since 2023-11-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="UserAddress对象", description="用户地址表")
public class UserAddress extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户ID")
    private Integer userId;

    private String name;

    @ApiModelProperty(value = "电话")
    private String phone;

    @ApiModelProperty(value = "标签名称")
    private String tagName;

    private String provinceCode;

    private String cityCode;

    private String districtCode;

    @ApiModelProperty(value = "详细地址")
    private String address;

    @ApiModelProperty(value = "完整地址")
    private String fullAddress;

    @ApiModelProperty(value = "是否默认地址（0：否 1：是）")
    private Integer isDefault;

    @ApiModelProperty(value = "删除标识（0：否 1：是）")
    private Integer isDeleted;


}
